﻿using Autofac.Extras.DynamicProxy;
using MDT.LifeSewagePlatform.Conmmon;
using MDT.LifeSewagePlatform.Entity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MDT.LifeSewagePlatform.InterfaceService
{
    [Intercept(typeof(CustomAutofacAop))]
    public interface IRegionService
    {

        public  Task<BaseMessage> AddAsync(RegionCreateOrUpdateDto RegionDto, int UserId);
        

        public  Task<BaseMessage> UpdateAsync(int Id, RegionCreateOrUpdateDto RegionDto, int UserId);
        

        public  Task<BaseMessage> DeleteAsync(int Id);
        

        public  Task<BaseMessage> SoftDeleteAsync(int Id, int UserId);

        public Task<BaseMessage> RegionsAsync(RegionParameter Params);

        public Task<BaseMessage> RegionsKeyAsync(RegionParameter Params);
    }
}
